registerEndpointType
jsPlumb
Registers the given endpoint type on this instance of jsPlumb.
typeId – {string} –
Id of the type
type – {object} –
Object containing the type specification.